package org.alex.samples.dao;

import java.io.Serializable;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;

import org.alex.samples.model.ExamUserRole;
import org.alex.samples.model.User;
import org.hibernate.Criteria;
import org.hibernate.LockOptions;
import org.hibernate.Query;
import org.hibernate.SQLQuery;
import org.hibernate.criterion.DetachedCriteria;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
@Repository
@Transactional
public class ExamUserRoleDAOImpl  extends BaseHibernateDAO<ExamUserRole> implements IExamUserRoleDAO {

	@Override
	public List<ExamUserRole> findAllRole() {
		String hql="from ExamUserRole";
		List<ExamUserRole> roleList = this.find(hql);
		return roleList;
	}

	

}
